import {createApp} from 'vue'
import App from './App.vue'
// import UserLoginPage from './pages/UserLoginPage.vue'
import {Button, Icon, NavBar, Tabbar, TabbarItem} from 'vant';
import {Cell, CellGroup} from 'vant';
import {Toast} from 'vant';
import {createRouter, createWebHistory} from "vue-router";
import routes from "./config/route.ts";
import {Empty} from 'vant';

const router = createRouter({
    history: createWebHistory(),
    routes,
})

const app = createApp(App)
// 3. 注册你需要的组件
app.use(Button);
app.use(Icon)
app.use(Tabbar);
app.use(TabbarItem);
app.use(NavBar);
app.use(router);
app.use(Cell);
app.use(CellGroup);
app.use(Toast);
app.use(Empty);


app.mount('#app')

